package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
//电池类
public class Battery {
    String brand;
    int watt;//容量，单位是毫安

    public void show(){
        System.out.println("这个电池的牌子是："+brand+",容量是"+watt+"毫安");
    }
}
